#include<iostream>
#include<stdio.h>
using namespace std;
#include <iomanip>
#include  <cmath>
#include <stdlib.h>
#include <string.h>
int main()
{
    int a, b;
    int c, d;
    cin >> a >> b;
    cin >> c >> d;
    int g;
    g = c - a;
    int j;
    j = d - b;
    if (g == 0 && j == 1)
    {
        cout << "u";
    }
    if (g == 0 && j == -1)
        cout << "d";
    if (g == 1 && j == 0)
    {
        cout << "r";
    }
    if (g == -1 && j == 0)
    {
        cout << "i";
    }




}